﻿using System;
using System.Collections.Generic;
using System.Text;
using XXX.Models.AS;
using XXX.Models.XXXEntities;
using ZDEntity;

namespace XXX.Common
{
    public class WMSPara
    {
        //条码打印数量
        public static readonly string PrintQtyControl =CanShu.wmspara.PrintQtyControl;
        //条码状态控制，是否允许扫描。加存货序列号管理，一起判读是否要严格控制
        public static readonly string StatusControl = CanShu.wmspara.StatusControl;
        //是否使用条码档案的数量
        public string UseBarQty = CanShu.wmspara.UseBarQty;
        //是否先进先出
        public static readonly string FifoControl = CanShu.wmspara.FifoControl;
        //是否保存前，再次校验条码状态
        public static readonly string SaveCheckSataus = CanShu.wmspara.SaveCheckSataus;
        //是否使用档案默认货位
        public static readonly string UseDefaultPosCode = CanShu.wmspara.UseDefaultPosCode;

        //是否合并生成单据
        public static readonly string BSumQty = "Y";
        //根据生产日期推送失效日期
        public static readonly string CalDVDate = "Y";
        //检查来源id和物料编码是否一致
        public static readonly string CheckInv01 = "Y";
        public static readonly string CheckInv10 = "Y";
        public static readonly string CheckInvTV = "Y";
        public static readonly string CheckInv11 = "Y";
        public static readonly string CheckInv32 = "Y";
        //条码自动生成单据号：定义一个系统内有的单据号
        public static readonly string rd01Code = "12345";
        public static readonly string rd08Code = "12345";
        public static readonly string rd09Code = "12345";
        public static readonly string rd10Code = "12345";
        public static readonly string rd11Code = "12345";
        public static readonly string rd32Code = "12345";
        public static readonly string rdTVCode = "12345";
        public static readonly string rdAdjustPCode = "12345";
    }

    //这个只是为了返回用
    public class WMSPara2
    {
        //条码打印数量
        public   string PrintQtyControl = "Y";
        //条码状态控制，是否允许扫描
        public   string StatusControl = "Y";
        //是否使用条码档案的数量
        public string UseBarQty = "Y";
        //是否先进先出
        public   string FifoControl = "N";
        //是否保存前，再次校验条码状态
        public  string SaveCheckSataus = "N";
        //是否使用档案默认货位
        public   string UseDefaultPosCode = "Y";
         
    }
}
